package cn.zhangtiancinb.simple_demo.exception_switch.server;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * UI访问控制器
 *
 * @author 张天赐
 */
@Controller
@RequestMapping("/ui")
public class UiController {
    /**
     * 首页
     *
     * @return 首页
     */
    @RequestMapping("index")
    public String index() {
        return "index";
    }
}
